package com.xbfinal.reggie.dto;

import com.xbfinal.reggie.pojo.Dish;
import com.xbfinal.reggie.pojo.DishFlavor;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;

@Data
public class DishDto extends Dish {//继承了Dish

    //接受页面传来的flavors
    private List<DishFlavor> flavors = new ArrayList<>();


    //对应得分类名称
    private String categoryName;

    private Integer copies;
}
